package io.renren.modules.generator.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-12-10 14:47:28
 */
@TableName("address_product")
@Data
public class AddressProductEntity implements Serializable {
	private static final long serialVersionUID = 1L;



	@TableId
	private Integer id;


	/**
	 * 
	 */
	private Integer fromAddressId;
	@TableField(exist = false)
	private String fromCode;
	@TableField(exist = false)
	private String fromName;
	@TableField(exist = false)
	private String fromArea;
	@TableField(exist = false)
	private String fromCity;
	@TableField(exist = false)
	private String fromDetailedAddress;
	@TableField(exist = false)
	private String fromDtAreaOmsMnemonicCode;
	@TableField(exist = false)
	private String fromProvince;
	@TableField(exist = false)
	private String fromAddressProperty;

	/**
	 * 
	 */
	private Integer toAddressId;


	@TableField(exist = false)
	private String toCode;
	@TableField(exist = false)
	private String toName;
	@TableField(exist = false)
	private String toArea;
	@TableField(exist = false)
	private String toCity;
	@TableField(exist = false)
	private String toDetailedAddress;
	@TableField(exist = false)
	private String toDtAreaOmsMnemonicCode;
	@TableField(exist = false)
	private String toProvince;
	@TableField(exist = false)
	private String toAddressProperty;

	/**
	 * 
	 */
	private Integer productId;
	private  boolean status;
	/**
	 * 
	 */
	private String remark;

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * 设置：
	 */
	public void setToAddressId(Integer toAddressId) {
		this.toAddressId = toAddressId;
	}
	/**
	 * 获取：
	 */
	public Integer getToAddressId() {
		return toAddressId;
	}
	/**
	 * 设置：
	 */
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	/**
	 * 获取：
	 */
	public Integer getProductId() {
		return productId;
	}
	/**
	 * 设置：
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：
	 */
	public String getRemark() {
		return remark;
	}
}
